-
Home
-
Essential Blocks – Page Builder Gutenberg Blocks, Patterns & Templates
-
4.8.0
-
Code
-
Classes
- TableOfContents
Total Complexity |
87 |
Dependencies |
2 |
Dependents |
0 |
Total lines |
425 |
Lines of code |
307 |
Logical lines of code |
181 |
Comment lines |
74 |
Methods |
11 |
Properties |
5 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
render_callback() |
D |
27 |
42 |
113 |
getHeadersFromContent() |
A |
46 |
10 |
39 |
getHeadingsFromHeadingElements() |
A |
47 |
10 |
36 |
generate_toc() |
A |
49 |
9 |
30 |
get_editor_type() |
S |
60 |
8 |
12 |
parseTocSlug() |
S |
58 |
2 |
16 |
__construct() |
S |
51 |
1 |
27 |
allowed_html() |
S |
57 |
1 |
19 |
areAllFalse() |
S |
72 |
2 |
5 |
get_name() |
S |
82 |
1 |
3 |
register_scripts() |
S |
70 |
1 |
7 |